package MyMap;

import java.util.*;

public class Test3 {
    public static void main(String[] args) {
        HashMap<String,String> hm = new HashMap<>();
        hm.put("11","22");
        hm.put("33","44");
        hm.put("55","66");
        hm.put("77","88");
        hm.put("99","00");
        hm.entrySet().toArray(new Map[0]);
        //Map<Object, Object> m = Map.ofEntries(hm.entrySet().toArray(new Map.Entry[0]));
        Map<String, String> m = Map.copyOf(hm);
        List<String> list = List.of("1","2","3");
        m.put("111","222");
    }
}
